﻿using S.EliminationOrDath.Domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.EliminationOrDath.Infrastructure.Interface
{
    /// <summary>
    /// 羊只死亡——仓储
    /// </summary>
    public interface ISheepDeathRepository:IBaseRepository<DeathModel>
    {
        /// <summary>
        /// 批量删除
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        Task<bool> BacthDelete(List<int> ids);
        Task<bool> UpdAuditor(string? DeathIds,string?uname);
        Task<bool> UpdAuditorTow(string? DeathIds);
        Task<List<DeathModel>> GetDeathsids(string? DeathIds);
    }
}
